package com.happyfamily.springboot.crowdsourcingplatform.service.wang;

import com.happyfamily.springboot.crowdsourcingplatform.base.result.Results;
import com.happyfamily.springboot.crowdsourcingplatform.model.Rule;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface RuleService
{
	public List<Rule> ruleList();
	public String ruleDelete(String rid);
	public Rule ruleReview(String rid);
	public String ruleAdd(String titles, String contents, HttpServletRequest req);
	public String ruleUpdata(String rid, String titles, String contents, String backTitle, HttpServletRequest req);
	public Results<Rule> ruleTable(Integer startPosition, Integer limit, String uname, String rtitle, String rcontent, String rtime);
}
